package elm.example.dao;

/*
    classDescription:商家Dao接口
*/

import elm.example.po.Business;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface IBusinessDao extends CrudRepository<Business, Integer> {
   Optional<Business> findBusinessByBusinessId(Integer id);
}
